package cn.stylefeng.guns.modular.order.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 新零帮出库汇总
 * </p>
 *
 * @author zhangzh
 * @since 2024-06-25
 */
@TableName("order_client_vol_detail")
public class OrderClientVolDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 收货客户id
     */
    @TableField("client_id")
    private String clientId;

    /**
     * 客户名称
     */
    @TableField("client_name")
    private String clientName;

    /**
     * 单据号
     */
    @TableField("fid")
    private String fid;

    /**
     * 商品数
     */
    @TableField("item_count")
    private Long itemCount;

    /**
     * 拆零数量
     */
    @TableField("open_stock_quantity")
    private Long openStockQuantity;

    /**
     * 拆零sku数
     */
    @TableField("open_stock_sku_kind_num")
    private Long openStockSkuKindNum;

    /**
     * 单据类型
     */
    @TableField("order_type")
    private String orderType;

    /**
     * 申请数量
     */
    @TableField("quantity")
    private Long quantity;

    /**
     * 状态
     */
    @TableField("state")
    private String state;

    /**
     * 发货门店id
     */
    @TableField("store_id")
    private String storeId;

    /**
     * 发货门店名称
     */
    @TableField("store_name")
    private String storeName;

    /**
     * 发货仓库id
     */
    @TableField("storehouse_id")
    private String storehouseId;

    /**
     * 发货仓库名称
     */
    @TableField("storehouse_name")
    private String storehouseName;

    /**
     * 体积
     */
    @TableField("volume")
    private BigDecimal volume;

    /**
     * 整件数量
     */
    @TableField("whole_quantity")
    private Long wholeQuantity;

    /**
     * 整件sku数
     */
    @TableField("whole_sku_kind_num")
    private Long wholeSkuKindNum;

    /**
     * 数据日期
     */
    @TableField("data_dt")
    private String dataDt;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 客户ID
     */
    @TableField("customer_id")
    private Integer customerId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public Long getItemCount() {
        return itemCount;
    }

    public void setItemCount(Long itemCount) {
        this.itemCount = itemCount;
    }

    public Long getOpenStockQuantity() {
        return openStockQuantity;
    }

    public void setOpenStockQuantity(Long openStockQuantity) {
        this.openStockQuantity = openStockQuantity;
    }

    public Long getOpenStockSkuKindNum() {
        return openStockSkuKindNum;
    }

    public void setOpenStockSkuKindNum(Long openStockSkuKindNum) {
        this.openStockSkuKindNum = openStockSkuKindNum;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStorehouseId() {
        return storehouseId;
    }

    public void setStorehouseId(String storehouseId) {
        this.storehouseId = storehouseId;
    }

    public String getStorehouseName() {
        return storehouseName;
    }

    public void setStorehouseName(String storehouseName) {
        this.storehouseName = storehouseName;
    }

    public BigDecimal getVolume() {
        return volume;
    }

    public void setVolume(BigDecimal volume) {
        this.volume = volume;
    }

    public Long getWholeQuantity() {
        return wholeQuantity;
    }

    public void setWholeQuantity(Long wholeQuantity) {
        this.wholeQuantity = wholeQuantity;
    }

    public Long getWholeSkuKindNum() {
        return wholeSkuKindNum;
    }

    public void setWholeSkuKindNum(Long wholeSkuKindNum) {
        this.wholeSkuKindNum = wholeSkuKindNum;
    }

    public String getDataDt() {
        return dataDt;
    }

    public void setDataDt(String dataDt) {
        this.dataDt = dataDt;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeliverId() {
        return deliverId;
    }

    public void setDeliverId(Long deliverId) {
        this.deliverId = deliverId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    @Override
    public String toString() {
        return "OrderClientVolDetail{" +
        "id=" + id +
        ", clientId=" + clientId +
        ", clientName=" + clientName +
        ", fid=" + fid +
        ", itemCount=" + itemCount +
        ", openStockQuantity=" + openStockQuantity +
        ", openStockSkuKindNum=" + openStockSkuKindNum +
        ", orderType=" + orderType +
        ", quantity=" + quantity +
        ", state=" + state +
        ", storeId=" + storeId +
        ", storeName=" + storeName +
        ", storehouseId=" + storehouseId +
        ", storehouseName=" + storehouseName +
        ", volume=" + volume +
        ", wholeQuantity=" + wholeQuantity +
        ", wholeSkuKindNum=" + wholeSkuKindNum +
        ", dataDt=" + dataDt +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", customerId=" + customerId +
        "}";
    }
}
